package com.yanqu.road.entity.kowloon.battle;

import com.yanqu.road.entity.kowloon.KowloonNpcAttributeData;
import com.yanqu.road.entity.kowloon.common.KowloonCoord;

/**
 * 好汉战斗数据
 */
public class KowloonBattleHeroData {

    private int heroId;

    /**
     * 局外英雄等级
     */
    private int level;

    /**
     * 局内英雄等级
     */
    private int mergeLevel;

    /**
     * 好汉战斗属性
     */
    private KowloonNpcAttributeData property;

    /**
     * 位置信息
     */
    private KowloonCoord pos = new KowloonCoord();


    public KowloonBattleHeroData clone() {
        KowloonBattleHeroData heroData = new KowloonBattleHeroData();
        heroData.setHeroId(this.heroId);
        heroData.setLevel(this.level);
        heroData.setMergeLevel(this.mergeLevel);
        heroData.setProperty(this.property.clone());
        heroData.setPos(this.pos.clone());
        return heroData;
    }


    public int getHeroId() {
        return heroId;
    }

    public void setHeroId(int heroId) {
        this.heroId = heroId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getMergeLevel() {
        return mergeLevel;
    }

    public void setMergeLevel(int mergeLevel) {
        this.mergeLevel = mergeLevel;
    }

    public KowloonCoord getPos() {
        return pos;
    }

    public void setPos(KowloonCoord pos) {
        this.pos = pos;
    }

    public KowloonNpcAttributeData getProperty() {
        return property;
    }

    public void setProperty(KowloonNpcAttributeData property) {
        this.property = property;
    }
}
